package model;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConnectionFactory {
	
	public Connection getConnection(){
		
		try{
			
			return DriverManager.getConnection("jdbc:mysql://localhost:3306/Controle_de_chamados","root","123456");
		
		}catch(SQLException e){
			
			new RuntimeException();
			
		}
		
		return null;
	}

}
